package com.wgchao.authmanager.domain.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Optional;

/**
 * @ClassName: Administratorupdator
 * @author: wgchao
 * @createTime: 2020/4/26 10:26 AM
 * @Description: 账户修改信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "administratorUpdator", description = "账户修改信息（不修改的项不要传）")
public class AdministratorUpdator implements Serializable {

    @ApiModelProperty(value = "账户名称", name = "name", allowEmptyValue = true)
    private Optional<String> name;

    @ApiModelProperty(value = "联系电话", name = "tel", allowEmptyValue = true)
    private Optional<String> tel;

    @ApiModelProperty(value = "联系邮箱", name = "email", allowEmptyValue = true)
    private Optional<String> email;
}
